Optimal. Leaf size=56 \[ \frac{\sqrt{a x^3+b x^4}}{b x}-\frac{a \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a x^3+b x^4}}\right )}{b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0823131, antiderivative size = 56, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {2024, 2029, 206} \[ \frac{\sqrt{a x^3+b x^4}}{b x}-\frac{a \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a x^3+b x^4}}\right )}{b^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2024
Rule 2029
Rule 206
Rubi steps
\begin{align*} \int \frac{x^2}{\sqrt{a x^3+b x^4}} \, dx &=\frac{\sqrt{a x^3+b x^4}}{b x}-\frac{a \int \frac{x}{\sqrt{a x^3+b x^4}} \, dx}{2 b}\\ &=\frac{\sqrt{a x^3+b x^4}}{b x}-\frac{a \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x^2}{\sqrt{a x^3+b x^4}}\right )}{b}\\ &=\frac{\sqrt{a x^3+b x^4}}{b x}-\frac{a \tanh ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a x^3+b x^4}}\right )}{b^{3/2}}\\ \end{align*}
Mathematica [A] time = 0.0405259, size = 75, normalized size = 1.34 \[ \frac{\sqrt{b} x^2 (a+b x)-a^{3/2} x^{3/2} \sqrt{\frac{b x}{a}+1} \sinh ^{-1}\left (\frac{\sqrt{b} \sqrt{x}}{\sqrt{a}}\right )}{b^{3/2} \sqrt{x^3 (a+b x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 78, normalized size = 1.4 \begin{align*}{\frac{x}{2}\sqrt{x \left ( bx+a \right ) } \left ( 2\,\sqrt{b{x}^{2}+ax}{b}^{3/2}-a\ln \left ({\frac{1}{2} \left ( 2\,\sqrt{b{x}^{2}+ax}\sqrt{b}+2\,bx+a \right ){\frac{1}{\sqrt{b}}}} \right ) b \right ){\frac{1}{\sqrt{b{x}^{4}+a{x}^{3}}}}{b}^{-{\frac{5}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\sqrt{b x^{4} + a x^{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.809629, size = 277, normalized size = 4.95 \begin{align*} \left [\frac{a \sqrt{b} x \log \left (\frac{2 \, b x^{2} + a x - 2 \, \sqrt{b x^{4} + a x^{3}} \sqrt{b}}{x}\right ) + 2 \, \sqrt{b x^{4} + a x^{3}} b}{2 \, b^{2} x}, \frac{a \sqrt{-b} x \arctan \left (\frac{\sqrt{b x^{4} + a x^{3}} \sqrt{-b}}{b x^{2}}\right ) + \sqrt{b x^{4} + a x^{3}} b}{b^{2} x}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{2}}{\sqrt{x^{3} \left (a + b x\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.21226, size = 55, normalized size = 0.98 \begin{align*} \frac{\sqrt{b + \frac{a}{x}} x}{b} + \frac{a \arctan \left (\frac{\sqrt{b + \frac{a}{x}}}{\sqrt{-b}}\right )}{\sqrt{-b} b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]